import request from '@/utils/request'

// 查询评估报告列表
export function listAssessmentReport(query) {
  return request({
    url: '/le/assessmentReport/list',
    method: 'get',
    params: query
  })
}

// 查询评估报告详细
export function getAssessmentReport(id) {
  return request({
    url: '/le/assessmentReport/' + id,
    method: 'get'
  })
}

// 新增评估报告
export function addAssessmentReport(data) {
  return request({
    url: '/le/assessmentReport',
    method: 'post',
    data: data
  })
}

// 修改评估报告
export function updateAssessmentReport(data) {
  return request({
    url: '/le/assessmentReport',
    method: 'put',
    data: data
  })
}

// 删除评估报告
export function delAssessmentReport(id) {
  return request({
    url: '/le/assessmentReport/' + id,
    method: 'delete'
  })
}
